package com.bwie.auth.service;


import com.bwie.common.domain.TUser;
import com.bwie.common.domain.dto.ForgetPasswordDto;
import com.bwie.common.domain.dto.UserLoginRequest;
import com.bwie.common.domain.dto.UserRegisteredReq;
import com.bwie.common.domain.vo.JwtResponse;
import com.bwie.common.result.Result;

/**
 * @author zt181
 * @date 2025/7/15
 */
public interface UserLoginService {
    Result<TUser> login(UserLoginRequest userLoginRequest);

    Result<JwtResponse> createToken(Result<TUser> userInfo);

    Result registered(UserRegisteredReq req);

    Result sendSms(String mobile);

    Result send(String mobile);

    Result forgetPassword(ForgetPasswordDto req);
}
